package com.cinc.ebc.fi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 付款明细
 * @Author: jeecg-boot
 * @Date:   2022-12-17
 * @Version: V1.0
 */
@ApiModel(value="fi_payment_voucher_detail对象", description="付款明细")
@Data
public class FiPaymentVoucherDetailModel {

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**单据编号*/
    @Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private java.lang.String voucherCode;
    /**核销单号*/
    @Excel(name = "核销单号", width = 15)
    @ApiModelProperty(value = "核销单号")
    private java.lang.String verifyCode;
    /**单据日期*/
    @Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date voucherDate;
    /**业务类型*/
    @ApiModelProperty(value = "业务类型")
    private java.lang.String voucherType;
    /**业务类型*/
    @Excel(name = "业务类型", width = 15)
    @ApiModelProperty(value = "业务类型")
    private java.lang.String voucherTypeText;
    /**货币*/
    @Excel(name = "货币", width = 15, dictTable = "mdm_currency", dicText = "currency_name", dicCode = "currency_no")
    @Dict(dictTable = "mdm_currency", dicText = "currency_name", dicCode = "currency_no")
    @ApiModelProperty(value = "货币")
    private java.lang.String currency;
    /**供应商*/
    @Excel(name = "供应商", width = 15, dictTable = "mdm_supply", dicText = "supply_full_name", dicCode = "id")
    @Dict(dictTable = "mdm_supply", dicText = "supply_full_name", dicCode = "id")
    @ApiModelProperty(value = "供应商")
    private java.lang.String supplyId;
    /**结算账户*/
    @Excel(name = "结算账户", width = 15, dictTable = "fi_settle_account", dicText = "name", dicCode = "id")
    @Dict(dictTable = "fi_settle_account", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "结算账户")
    private java.lang.String settleAccountId;
    /**项目*/
    @Excel(name = "项目", width = 15)
    @ApiModelProperty(value = "项目")
    private java.lang.String projectId;
    /**实付金额*/
    @Excel(name = "实付金额", width = 15)
    @ApiModelProperty(value = "实付金额")
    private java.math.BigDecimal actAmount;
    /**核销金额*/
    @Excel(name = "核销金额", width = 15)
    @ApiModelProperty(value = "核销金额")
    private java.math.BigDecimal verifyAmount;
    /**未核销金额*/
    @Excel(name = "未核销金额", width = 15)
    @ApiModelProperty(value = "未核销金额")
    private java.math.BigDecimal unverifyAmount;
    /**状态*/
    @Excel(name = "状态", width = 15, dicCode = "fi_apar_voucher_status")
    @Dict(dicCode = "fi_apar_voucher_status")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
    /**编码*/
    @Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private String code;
    /**名称*/
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
    /**金额*/
    @Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal detailVerifyAmount;
    /**单据类型*/
    @Excel(name = "单据类型", width = 15, dicCode = "fi_pay_detail_bill_type")
    @Dict(dicCode = "fi_pay_detail_bill_type")
    @ApiModelProperty(value = "单据类型")
    private String billType;
    /**来源单据*/
    @Excel(name = "来源单据", width = 15)
    @ApiModelProperty(value = "来源单据")
    private String billNo;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private String tenantId;
}
